package com.jams.goodox.activity.qa;

import android.content.Context;
import android.os.Handler;
import android.os.Message;
import android.support.v4.content.ContextCompat;
import android.support.v7.widget.DefaultItemAnimator;
import android.text.TextUtils;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.inputmethod.InputMethodManager;
import android.widget.EditText;
import android.widget.TextView;

import com.jams.goodox.BaseActivity;
import com.jams.goodox.R;
import com.jams.goodox.SePref;
import com.jams.goodox.activity.qa.entity.CourseComment;
import com.jams.goodox.adapter.lfadapter.CommonRecycleViewAdapter;
import com.jams.goodox.adapter.lfadapter.LFRecyclerViewHolder;
import com.jams.goodox.net.services.LoginService;
import com.jams.goodox.utils.StatusBarCompat;
import com.jams.goodox.utils.StyleUtil;
import com.jams.goodox.utils.TimeUtils;
import com.jams.goodox.utils.ToastUtil;

import org.json.JSONArray;
import org.json.JSONObject;

import java.util.ArrayList;
import java.util.List;

import butterknife.Bind;
import me.leefeng.lfrecyclerview.LFRecyclerView;
import me.leefeng.lfrecyclerview.OnItemClickListener;
import okhttp3.RequestBody;
import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.Callback;
import retrofit2.Response;

/**
 * Created by HP on 2018/5/17.
 * 添加评论
 */

public class CourseTXTActivity extends BaseActivity {
    private static final String TAG = CourseTXTActivity.class.getSimpleName();


    @Bind(R.id.title)
    TextView title;

    @Bind(R.id.content)
    TextView content;

    String contentTx;
    String titleTx;


    @Override
    protected int getLayoutId() {
        return R.layout.coursetx_activity;
    }

    @Override
    protected void init() {
        StyleUtil.titleBackKey(this, "如何与孩子沟通");
        StatusBarCompat.compat(this, ContextCompat.getColor(this, R.color.main_color));//沉侵式头部
        contentTx = getIntent().getStringExtra("contentTx");
        titleTx = getIntent().getStringExtra("titleTx");

        title.setText(titleTx);
        content.setText(contentTx);

    }

}
